package com.spt.fjj.service.models.common;

import java.util.List;
import java.util.Map;


public interface ICommonService {

	int _insert(String sql) throws Exception;
	

	int _insert(String sql, Object... args) throws Exception;
	

	int _update(String sql) throws Exception;
	

	int _update(String sql, Object... args) throws Exception;
	

	int _delete(String sql) throws Exception;
	

	int _delete(String sql, Object... args) throws Exception;
	

	int[] _execBatch(String... sql) throws Exception;
	
	
	

	String _querySingle(String sql) throws Exception;
	

	

	List<Map<String, Object>> _queryMultex(String sql) throws Exception;
	


	String _identifyGenerater(final String arg0) throws Exception;

	List<Map<String, Object>> _queryMultex(String sql, Object[] args)
			throws Exception;

	String _querySingle(String sql, Object[] args) throws Exception;
}
// /:~